package com.lsh.oms.core.enums;

/**
 * Project Name: lsh-oms
 *
 * @author peter
 * @date 18/2/27
 * 北京链商电子商务有限公司
 * Package
 * desc:
 */
public enum TaskType {
    /**
     *TaskType.REFUND
     */
    ORDER_SPLIT(5, "order split"),
    PO_COMMIT(10, "commit"),
    PO_CHECK(20, "check"),
    ORDER_RECEIPT(25, "order receipt"),
    ORDER_PUSH_TMS(27, "订单发货通知tms"),
    Bill_SIGN(30, "bill_sign 签收单推送"),
    Bill_SIGN_BY_MQ(31, "bill_sign签收单MQ推送"),
    RECEIPT_TO_ACCOUNT(35, "签收单已到账"),
    Bill_RO(40, "bill_ro"),
    Bill_RO_BY_MQ(41, "bill_ro返仓单MQ推送"),
    REFUND(50, "order_refund"),
    ORDER_COUPON(55, "order_coupon"),
    PUSH_MIS(60,"通知商城返仓成功"),
    PUSH_RO(65,"提交返仓单2OFC"),
    QUERY_RO_STATUS(66,"查询ro 提交进销存状态"),
    ORDER_DETAIL_RATE(80,"填充订单详情的采购价、税率"),
    ORDER_REICEPT_PO_SO_PSI(85,"签收单 po so 过账"),

    HTTP_TRIGGER(100, "定时触发HTTP请求JOB"),
    REPEATED_HTTP_TRIGGER(101, "反复定时触发HTTP请求JOB");

    private int code;
    private String name;

    TaskType(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
